// 判断一个数字是否是奇数
export const isOdd = (num) => {
  if (typeof +num !== "number") return false;
  return [-1, 1].includes(num % 2);
};
